package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务区域对象 ServiceAreas
 * 
 * @author ruoyi
 * @date 2024-09-24
 */
public class ServiceAreas extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域标识 */
    private Long areaId;

    /** 服务人员ID */
    @Excel(name = "服务人员ID")
    private String providerId;

    /** 服务范围坐标 */
    @Excel(name = "服务范围坐标")
    private String polygonCoordinates;

    /** 服务半径 */
    @Excel(name = "服务半径")
    private String radius;

    /** 服务中心位置 */
    @Excel(name = "服务中心位置")
    private String centerLocation;

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setProviderId(String providerId) 
    {
        this.providerId = providerId;
    }

    public String getProviderId() 
    {
        return providerId;
    }
    public void setPolygonCoordinates(String polygonCoordinates) 
    {
        this.polygonCoordinates = polygonCoordinates;
    }

    public String getPolygonCoordinates() 
    {
        return polygonCoordinates;
    }
    public void setRadius(String radius) 
    {
        this.radius = radius;
    }

    public String getRadius() 
    {
        return radius;
    }
    public void setCenterLocation(String centerLocation) 
    {
        this.centerLocation = centerLocation;
    }

    public String getCenterLocation() 
    {
        return centerLocation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("providerId", getProviderId())
            .append("polygonCoordinates", getPolygonCoordinates())
            .append("radius", getRadius())
            .append("centerLocation", getCenterLocation())
            .toString();
    }
}
